package com.atguigu.edu.realtime.common.constant;

public class Constant {
    public static final String KAFKA_BROKERS = "hadoop102:9092,hadoop103:9092,hadoop104:9092";

    public static final String TOPIC_DB = "topic_db";
    public static final String TOPIC_LOG = "topic_log";

    public static final String MYSQL_HOST = "hadoop102";
    public static final int MYSQL_PORT = 3306;
    public static final String MYSQL_USER_NAME = "root";
    public static final String MYSQL_PASSWORD = "000000";
    public static final String HBASE_NAMESPACE = "edu";

    public static final String MYSQL_DRIVER = "com.mysql.cj.jdbc.Driver";
    public static final String MYSQL_URL = "jdbc:mysql://hadoop102:3306?useSSL=false";

    public static final String TOPIC_DWD_TRAFFIC_START = "dwd_traffic_start";
    public static final String TOPIC_DWD_TRAFFIC_ERR = "dwd_traffic_err";
    public static final String TOPIC_DWD_TRAFFIC_PAGE = "dwd_traffic_page";
    public static final String TOPIC_DWD_TRAFFIC_ACTION = "dwd_traffic_action";
    public static final String TOPIC_DWD_TRAFFIC_DISPLAY = "dwd_traffic_display";
    public static final String TOPIC_DWD_TRAFFIC_APPVIDEO = "dwd_traffic_appvideo";
    public static final String TOPIC_DWD_TRAFFIC_UNIQUE_VISITOR_DETAIL="dwd_traffic_unique_visitor_detail";
    public static final String TOPIC_DWD_TRAFFIC_USER_JUMP_DETAIL="dwd_traffic_user_jump_detail";

    public static final String TOPIC_DWD_INTERACTION_CHAPTER = "dwd_interaction_chapter";
    public static final String TOPIC_DWD_USER_LOGIN = "dwd_user_login";
    public static final String TOPIC_DWD_USER_REGISTER = "dwd_user_register";

    public static final String TOPIC_DWD_INTERACTION_FAVOR_ADD = "dwd_interaction_favor_add";
    public static final String TOPIC_DWD_INTERACTION_COMMENT_INFO = "dwd_interaction_comment_info";
    public static final String TOPIC_DWD_INTERACTION_REVIEW_INFO = "dwd_interaction_review_info";

    public static final String TOPIC_DWD_TRADE_CART_ADD = "dwd_trade_cart_add";
    public static final String TOPIC_DWD_TRADE_ORDER_DETAIL = "dwd_trade_order_detail";
    public static final String TOPIC_DWD_TRADE_ORDER_PAY_SUC_DETAIL = "dwd_trade_order_pay_suc_detail";

    public static final String TOPIC_DWD_EXAMINATION_ANSWER_DETAIL = "dwd_examination_answer_detail";
    public static final String TOPIC_DWD_EXAMINATION_QUESTION_DETAIL = "dwd_examination_question_detail";

    public static final String TOPIC_DWD_PLAY_VIDEO_DETAIL = "dwd_play_video_detail";

    public static final String KEYWORD_SEARCH="SEARCH";
    public static final String KEYWORD_CLICK="CLICK";
    public static final String KEYWORD_CART="CART";
    public static final String KEYWORD_ORDER="ORDER";


    public static final String DORIS_FE_NODES = "hadoop102:7030";

    public static final String DORIS_DATABASE = "edu_realtime";

}
